package com.xueqiu.movieplaymanagersystem.entity;

import java.io.Serializable;

/**
 * @author xueqiu
 * @Description: 新闻类别表
 */
public class Type implements Serializable {
    public static final long serialVersionUID = 1L;

    /**
     * 文章类别ID
     */
    private String id;

    /**
     * 文章类别名称
     */
    private String typeName;

    /**
     * 文章类别下拥有的文章数量
     */
    private int blogCount;

    public Type() {
    }

    public Type(String id, String typeName) {
        this.id = id;
        this.typeName = typeName;
    }

    public Type(String id, String typeName, int blogCount) {
        this.id = id;
        this.typeName = typeName;
        this.blogCount = blogCount;
    }

    public Long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getBlogCount() {
        return blogCount;
    }

    public void setBlogCount(int blogCount) {
        this.blogCount = blogCount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "Type{" +
                "id='" + id + '\'' +
                ", typeName='" + typeName + '\'' +
                ", blogCount=" + blogCount +
                '}';
    }
}
